# !usr/bin/env python
# -*- coding:utf-8 _*-
"""
@Author:张广勤
@Web site: https://www.tunan.wang
@Github:www.github.com
 
@File:scikit-learn1_2.py
@Time:2024/7/4 8:23

@Motto:不积跬步无以至千里，不积小流无以成江海！
"""

from sklearn.preprocessing import StandardScaler
import streamlit as st

data = [[1, 2], [2, 3], [3, 4]]
scaler = StandardScaler()
scaled_data = scaler.fit_transform(data)
st.write(f"标准化后的数据：{scaled_data}")